// const imgHost = 'https://pbs.hebyun.com.cn/rmrbimages/'
// const HOST = 'https://pbs.hebyun.com.cn'

const hostApi =""
// 配置H5跨域


const HOST = "http://localhost:9000/"
// const HOST = "/web/"  //自己电脑的

const loginByUsername = HOST + 'login'

const tabListUrl = HOST + 'tab' //商品导航

const getShop = HOST + 'shop/getShop' //商品查询
const getSign = HOST + 'shop/getSign' //模糊查询
const getShopSign = HOST + 'shop/getShopSign' //根据id查询商品
const addShop = HOST + 'shop/addShop' //添加商品 
const addShopLook = HOST + 'shop/addShopLook' //添加商品浏览数
const getAllShopT = HOST + 'shop/getAllShopT' //根据用户查询商品
const updateShop = HOST + 'shop/updateShop' //根据id修改商品
const updateShopSold = HOST + 'shop/updateShopSold' //商品上下架
const deleteShop = HOST + 'shop/deleteShop' //商品上下架

const addCollect = HOST + 'collect/addCollect' //收藏
const lookCollect = HOST + 'collect/lookCollect' //收藏数量
const getAllCollect = HOST + 'collect/getAllCollect' //查询购物车列表 
const deleteDeleteType = HOST + 'collect/deleteDeleteType' //取消收藏

const addReport = HOST + 'report/addReport' //添加举报

const addOrder = HOST + 'order/addOrder' //购买商品 
const getAllOrder = HOST + 'order/getAllOrder' //查询订单 
const updateOrderType = HOST + 'order/updateOrderType' //修改订单的状态
const getOrderId = HOST + 'order/getOrderId' //根据id查订单

const addComment = HOST + 'comment/addComment' //评论
const getComment = HOST + 'comment/getComment' //查询评论
const getCommentSin = HOST + 'comment/getCommentSin' //查询单个评论

const addSales = HOST + 'sales/addSales' //添加退货信息
const getSalesId = HOST + 'sales/getSalesId' //获取退货信息

const getId = HOST + "user/getId"

const addInvn = HOST + 'invn/addInvn' //添加帖子
const getInvn = HOST + 'invn/getInvn' //查看帖子
const getDelete = HOST + 'invn/getDelete'
const getIn = HOST + 'invn/getIn'

const addConsent = HOST + 'consent/addConsent' //添加求购
const getConsent = HOST + 'consent/getConsent'
const getCDelete = HOST + 'consent/getCDelete'
const getCon = HOST + 'consent/getCon'

const addFeebdack = HOST + 'feedback/addFeebdack'



export default{
	addFeebdack,
	getIn,
	getCon,
	getCDelete,
	getConsent,
	addConsent,
	getDelete,
	getInvn,
	addInvn,
	loginByUsername,
	tabListUrl,
	getShop,
	getSign,
	getShopSign,
	addCollect,
	lookCollect,
	addShop,
	addReport,
	addOrder,
	addShopLook,
	getAllShopT,
	updateShopSold,
	updateShop,
	deleteShop,
	getAllCollect,
	deleteDeleteType,
	getAllOrder,
	updateOrderType,
	addComment,
	getComment,
	getCommentSin,
	getOrderId,
	addSales,
	getSalesId,
	getId
}